.class Lcom/estrongs/android/widget/f$a;
.super Lcom/estrongs/android/view/ImageFileGridViewWrapper;
.source "ImageBrowserDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/widget/f;->e()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic k1:Lcom/estrongs/android/widget/f;


# direct methods
.method constructor <init>(Lcom/estrongs/android/widget/f;Landroid/app/Activity;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;Z)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/widget/f$a;->k1:Lcom/estrongs/android/widget/f;

    invoke-direct {p0, p2, p3, p4, p5}, Lcom/estrongs/android/view/ImageFileGridViewWrapper;-><init>(Landroid/app/Activity;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;Z)V

    return-void
.end method


# virtual methods
.method protected G0()I
    .locals 1

    const v0, 0x7f0c0195

    return v0
.end method

.method protected H0()I
    .locals 1

    const v0, 0x7f0c0196

    return v0
.end method

.method public d(Ljava/util/List;)V
    .locals 4

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    .line 3
    check-cast v2, Lcom/estrongs/fs/g;

    .line 4
    invoke-interface {v2}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/estrongs/android/util/h0;->c2(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-interface {v2}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/estrongs/android/util/h0;->t1(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 5
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 6
    :cond_1
    invoke-interface {v2}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/estrongs/android/util/h0;->g2(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/ui/pcs/f;->i()Z

    move-result v3

    if-nez v3, :cond_0

    .line 7
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 8
    :cond_2
    invoke-interface {p1, v0}, Ljava/util/List;->removeAll(Ljava/util/Collection;)Z

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->s:Lcom/estrongs/android/ui/drag/a;

    if-eqz v0, :cond_3

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;->a(Lcom/estrongs/android/ui/drag/a;)V

    .line 11
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;->a(Ljava/util/List;)V

    return-void
.end method

.method public j(I)V
    .locals 1

    .line 1
    iput p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->o:I

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f:Landroidx/recyclerview/widget/GridLayoutManager;

    const/4 v0, 0x2

    invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanCount(I)V

    return-void
.end method
